package com.cjzuji.rental.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author bag
 * @version V1.0
 * @date 2025/6/13 9:41
 * @since 1.0
 */
@Data
@Accessors(chain = true)  //链式调用 可以连续调用setter方法而不需要每次都创建新的对象实例
@TableName("order_data")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderData {

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @TableField(value = "order_id")
    private String orderId;

    @TableField(value = "create_time")
    private String createTime;

    @TableField(value = "urge_Time")
    private String urgeAuditTime;

    @TableField(value = "order_status")
    private String orderStatus;

    @TableField(value = "order_type")
    private String orderType;

    @TableField(value = "rent_time")
    private String rentTime;

    @TableField(value = "risk_control_opinion")
    private String riskControlOpinion;

    @TableField(value = "order_score_platform")
    private String orderScorePlatform;

    @TableField(value = "shap_name")
    private String shapName;

    @TableField(value = "all_amout")
    private double allAmout;

    @TableField(value = "month_repaymount")
    private double monthRepaymount;

    @TableField(value = "redemption")
    private double redemption;

    @TableField(value = "renewal_payment")
    private double renewalPayment;

    @TableField(value = "renewal_moth")
    private double renewalMoth;

    //renewal_redemption
    @TableField(value = "renewal_redemption")
    private double renewalRedemption;

    //total_payable
    @TableField(value = "total_payable")
    private double totalPayable;

    //total_paid
    @TableField(value = "total_paid")
    private double totalPaid;

    //sum_amount
    @TableField(value = "sum_amount")
    private double sumAmount;

    @TableField(value = "common_numbera")
    private String commonNumbera;

}
